<%@ page contentType="text/html;charset=UTF-8"%>
<%@page import="com.chitry.gen.MD5Security"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<title>生成结果</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body >
<br/><br/><br/><br/>
<div id="viewpanel" align="center">
<%	
	StringBuffer barCode = new StringBuffer();
	barCode.append("<img src='");
	barCode.append(request.getContextPath());
	String msg = "123456789012";
	if(request.getParameter("uuid") != null)
	msg = request.getParameter("uuid");
	if(request.getParameter("ismd5") !=null){
		if(request.getParameter("ismd5").equals("1"))
			msg = MD5Security.code(msg,16);
	}
	barCode.append("/CreateBarCode?msg="+msg+"'>");
	out.println(barCode.toString());
%>
<br/><br/><br/>
<input name="return" type="button" value="返  回" style="cursor:hand;" onclick="location.href='${pageContext.request.contextPath}/index.jsp'">
<input name="bequery" type="button" value="打  印" style="cursor:hand;" onclick="nowprint();">
</div>
<!--script>nowprint();</script-->
</body>
</html>  